package com.nowcoder.community.dao.elasticsearch;

        import com.nowcoder.community.entity.DiscussPost;
        import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
        import org.springframework.stereotype.Repository;

// es可以看做特殊的数据库
// ElasticsearchRepository<DiscussPost,Integer> : 实体类型，主键类型
@Repository
public interface DiscussPostRepository extends ElasticsearchRepository<DiscussPost, Integer> {

}
